package com.face.server.service;

import com.face.server.entity.Role;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;

/**
 * Created by ryan on 2018/1/29.
 */
public interface RoleService {
    Page<Role> listRoles(Pageable pageRequest, String searchKey);

    Role editAdminsInRole(String rid, String searchData);

    Role editFuncsInRole(String rid, String searchData);

    Role createRole(String name);

    Role listMyRole();
}
